package com.example.spring_blog.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum ResultCodeEnum {
    SUCCESS(200),
    FAIL(-1); // 实际开发中分的更细

    @Setter @Getter
    private int code;

}
